package com.wallace.downloadserver.redis

import org.junit.jupiter.api.Test

import org.junit.jupiter.api.Assertions.*
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest

/**
 * @Author: Wallace
 * @Description:
 * @Date: 2022/1/14 20:50
 * @Modified By:
 */
@SpringBootTest
internal class RedisUtilTest {
//    @Autowired
//    private val redisUtil: RedisUtil? = null
//
//    @Test
//    fun get() {
//        val myKey = "test2"
//        val myValue = "test_2"
//        redisUtil?.set(myKey, myValue)
//        val myValue1 = redisUtil?.get(myKey)
//        assert(myValue1 == myValue)
//    }
}